package hkbigdata.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HellowController {

    @ResponseBody
    @RequestMapping("/hello")
    public String hello(){
        return "Hello World!";
    }

    @ResponseBody
    @RequestMapping("/hello2")
    public String hello2(){
        return "Hello World2!";
    }

    @ResponseBody
    @RequestMapping("/hello3")
    public String hello3(){
        return "Hello World3!";
    }
}
